package src.Thread1;

/**
 * Created by 58 on 2016/3/10.
 */
public class PrintThread extends Thread {
    private String message;

    public PrintThread(String message) {
        this.message = message;
    }

    @Override
    public void run() {
        for (int i = 0; i < 100; i++) {
            System.out.print(message);
        }
    }
}
